<template>
  <iframe
    name="child"
    id="child"
    :src="iframeSrc"
    width="100%"
    :style="defaultHeight"
  ></iframe>
</template>

<script>
export default {
  name: "home",
  data() {
    return {
      defaultHeight: {
        height: ""
      },
      iframeSrc: 'http://81.68.101.36:8084/'
    };
  },
  methods: {
    getHeight() {
      this.defaultHeight.height = window.innerHeight - 90 + "px";
    }
  },
  created() {
    window.addEventListener("resize", this.getHeight);
    this.getHeight();
  }
};
</script>

<style scoped lang="scss">
</style>
